/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nanosn.coffeemaker.databaseproject.persistence;

import com.nanosn.coffeemaker.project.ProjectSettings;

/**
 *
 * @author selkhateeb
 */
public class DerbyCloseDatabaseJDBCConfiguration extends DatabaseJDBCConfiguration {

    public DerbyCloseDatabaseJDBCConfiguration() throws Exception {
        super();
    }

    @Override
    protected String generateConnectionURL(ProjectSettings settings) throws UnknownEngineNameException {
        return "jdbc:derby:" + settings.getDatabaseName() + ";shutdown=true";
    }
}
